<html
<head>
    <title>javascript03</title>
</head>
<body>
    Types et variables :<br />
    <script type="text/javascript">
        var i, maChaine, bool;
        document.write("i = " + i + "<br />");
        bool=true;
        if (bool)
            document.write("bool est vrai<br />");
        else
            document.write("bool est faux<br />");
        i=12; document.write("i = " + i + "<br />");
        i=1.256 ; document.write("i = " + i + "<br />");
        i=null ;
        document.write("i = " + i + "<br />");
        var il ; il = null ;
        if (il==null)
            document.write("il est "+ i +" ! ! !");
    </script>
</body>
</html>